package com.sakura.mall.product.commentReplay.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.product.commentReplay.domain.entity.CommentReplayEntity;
import com.sakura.mall.product.commentReplay.domain.request.AddCommentReplayRequest;
import com.sakura.mall.product.commentReplay.domain.request.UpdateCommentReplayRequest;
import com.sakura.mall.product.commentReplay.domain.request.CommentReplayPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.product.commentReplay.domain.vo.CommentReplayVo;

/**
 * 商品评价回复关系 service
 *
 * @author sakura
 */
public interface CommentReplayService extends IService<CommentReplayEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<CommentReplayVo> queryPage(CommentReplayPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddCommentReplayRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateCommentReplayRequest request);
}
